package com.xqboss.apps.vo.user;

import com.xqboss.apps.enums.user.PayTypeEnum;
import com.xqboss.apps.enums.user.WithdrawStatusEnum;
import com.xqboss.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户提现列表
 *
 * @author Trent
 * @date 2023/8/19
 */
@Data
public class WithdrawListExportVo {

    @Excel(name = "提现ID")
    private Long id;

    @Excel(name = "用户ID")
    private Long userId;

    @Excel(name = "用户昵称")
    private String userNickName;

    @Excel(name = "用户手机号")
    private String userPhonenumber;

    @Excel(name = "提现方式", readConverterExp = "Alipay_APP=支付宝(APP),Alipay_H5=支付宝(H5)")
    private PayTypeEnum withdrawWay;

    @Excel(name = "提现金额", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal amount;

    @Excel(name = "提现手续费", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal withdrawFee;

    @Excel(name = "提现手续费比例", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal withdrawFeeRatio;

    @Excel(name = "实际到账金额", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal actuallyArriveAmount;

    @Excel(name = "收款账号")
    private String bankAccount;

    @Excel(name = "提现状态", readConverterExp = "WAIT_PROCESS=待审核,PROCESS_ABORT=审核驳回,PROCESS_PASS=审核通过")
    private WithdrawStatusEnum status;

    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
